package com.scujj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.scujj.pojo.Blog;
import com.scujj.pojo.User;

import java.util.List;

public interface BlogService extends IService<Blog> {
    void publishBlog(long uid,String context,String imgSrc,Long retransmissionBlogId);
    void delBlog(long id);
    Blog getBlogById(long id);
    List<Blog> lastBlogList(int page, int n);
    List<Blog> hotBlogList(int page, int n);
    List<Blog> subscribeBlogList(int page, int n, long uid);
    List<Blog> blogListSet(List<Blog> blogs);
}
